﻿<%@ Page Language="VB" MasterPageFile="~/MasterPage/MasterPage.master" AutoEventWireup="false" CodeFile="pukl_1.aspx.vb" Inherits="pukl_1" title="未命名頁面" %>
<%@ Register src="Control/ucDropDownList.ascx" tagname="ucDropDownList" tagprefix="uc1" %>
<%@ Register src="Control/ucAutoComplete.ascx" tagname="ucAutoComplete" tagprefix="uc1" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <div class="buttonOnHead_class">  
        <asp:Button ID="btnExecute" runat="server" Text="查詢" OnClick="btnExecute_Click" />
        <asp:Button ID="btnExecuteAC" runat="server" Text="查詢" OnClick="btnExecute_Click" />
        <asp:Label ID="lblMsg" runat="server" ForeColor="Red"></asp:Label>
    </div>
    <div class="criteriaDIV">
        <uc1:ucDropDownList ID="ucCAR" runat="server" Caption="車型名稱:" />
        <uc1:ucDropDownList ID="ucPRODUCT" runat="server" Caption="產品名稱:" />                   
    </div>
    <div class="criteriaDIV">
        <uc1:ucAutoComplete ID="ucCARac" runat="server" Caption="車型名稱:" TableName="qmg4" />
        <uc1:ucAutoComplete ID="ucPRODUCTac" runat="server" Caption="產品名稱:"  TableName="qmg2"/>
        
    </div> 
    <div style="float:left;width:95%;margin-top:10px;">           
        <div class="shoping" >
            <asp:Button ID="btnShoping" runat="server" Text="shop" />
            <a href="shopingList.aspx">
                <%=shopingCount%>
            </a>
        </div>
         
         <div style="float:left;width:100%;height:5px;"></div>
         <asp:GridView ID="GV1" AllowPaging="true"  CssClass="tableSummary" 
             AutoGenerateColumns="false"
             PageSize="30"
             runat="server">
            <Columns>
                <asp:TemplateField>
                    <ItemTemplate>
                        <asp:CheckBox ID="chkShoping" runat="server" />
                        <asp:Label ID="lblPu_id" runat="server" Visible="false"></asp:Label>
                    </ItemTemplate>
                </asp:TemplateField>            
                <asp:HyperLinkField DataTextField="p1" DataNavigateUrlFormatString="~/pu_jpg_1.aspx?p1={0}" DataNavigateUrlFields="p1"  HeaderText=".產品編號/OEM編號..." />
                <asp:HyperLinkField DataTextField="pu_nam" DataNavigateUrlFormatString="~/pu_jpg_1.aspx?p1={0}" DataNavigateUrlFields="p1" HeaderText=".. 產品名稱.................................... " />
                <asp:BoundField DataField="qq" HeaderText=".品牌..  	 " />
                <asp:BoundField DataField="nam" HeaderText="適用車型.................  	 " />
                <asp:BoundField DataField="mo" HeaderText=".規格.年份.備註欄........... " />
                <asp:BoundField DataField="price" HeaderText="官方訂價(僅供參考) " />                        
            </Columns>
            <EmptyDataTemplate>
                <label class="gvNoData">沒有你所查詢的資料！</label>    
            </EmptyDataTemplate>
           </asp:GridView>
           <div style="float:left;width:100%;height:5px;"></div>
           <div class="shoping" >
            <asp:Button ID="btnShoping1" runat="server" Text="shop" /> 
            <label><%=shopingCount%></label>
           </div>
    </div>    
    
</asp:Content>

